//
//  DropDownMenu.h
//  OAProject
//
//  Created by yhj on 2017/3/9.
//  Copyright © 2017年 cdnunion. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^SelectedAtIndex)(NSInteger index);

@interface DropDownMenu : UIView

@property(nonatomic,copy)SelectedAtIndex selectedAtIndex;

-(void)selectedAtIndex:(SelectedAtIndex)block;

-(instancetype)initWithWidth:(CGFloat)width titles:(NSArray *)titles;

@property(nonatomic,assign)BOOL isOpen;

@property(nonatomic,assign)BOOL isMenu;

@end
